package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zr  feign client  注明方法名
 * @date 2022/8/27 17:09
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 远程调用的方法
     *
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    R memberList();
}
